<%@page import="com.grep.extra.factory.data.impl.ContentParseField"%>
<%@page import="com.grep.extra.dao.impl.ContentParseFieldDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	//显示需要修改的内容
	String id = request.getParameter("id");
	ContentParseFieldDao cpfd = new ContentParseFieldDao();
	
	ContentParseField cpf = new ContentParseField();
	
	cpf = cpfd.getContParseFieldforID(id);
	
	String responseText ="{\"id\": \""+cpf.getId()+"\",\"field_name\": \""+cpf.getFieldName()+"\",\"start_regex\": \""+cpf.getStartRegex()+"\",\"end_regex\": \""+cpf.getEndRegex()+"\"}";
	
	response.getWriter().println(responseText);
	
	
%>